Systems and methods for semantic reasoning in personal illness management

ABSTRACT

A personal illness management system includes an extended semantic model of a health care knowledge domain, a semantic knowledge database for personal illness management, and an inference engine. The extended semantic model of a health care knowledge domain includes existing concepts related to personal illness management, existing relationships among the existing concepts, and inference logic embedded within each existing concept. The semantic knowledge database for personal illness management is distinct from the extended semantic model and includes existing nodes and existing links. The existing nodes represent instances of the existing concepts, and the existing links represent instances of the existing relationships among the existing concepts. The inference engine is knowledge domain independent and populates the semantic knowledge database with the instances of the existing concepts and the instances of the existing relationships by following the inference logic embedded within each existing concept.

CROSS REFERENCE TO RELATED CO-PENDING APPLICATIONS

This application is a continuation and claims the benefit of U.S.non-provisional application Ser. No. 14/331,282 filed on Jul. 15, 2014and entitled SYSTEMS AND METHODS FOR SEMANTIC REASONING, which iscommonly assigned and the contents of which are expressly incorporatedherein by reference.

This application also claims the benefit of U.S. provisional applicationSer. No. 61/846,118 filed on Jul. 15, 2013 and entitled SYSTEMS ANDMETHODS FOR SEMANTIC REASONING, which is commonly assigned and thecontents of which are expressly incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to computer systems for informationprocessing and in particular to a system and method for semanticreasoning in personal illness management.

BACKGROUND OF THE INVENTION

Currently, with the rapid expansion of the World Wide Web and integratedsensors, there is more information available than is possible for thehuman mind to comprehend. As a result, systems and methods are neededthat can automatically process data to synthesize new insights andcreate knowledge.

A number of different approaches have been exploited in an attempt todevelop systems and methods for representing knowledge. One such methodutilizes a semantic network. A semantic network is a structure forencoding knowledge. It can encode knowledge about any domain, such asmilitary operations, financial transactions, organizationalrelationships, medical conditions and their treatment, to name a few.

A semantic network provides an intuitive way to encode knowledge sinceit mimics language. The basic building blocks of a semantic network arenodes and links. Nodes typically represent objects, real or conceptual.Links represent relationships between the objects. Nodes and linkstogether constitute total knowledge. Referring to FIG. 1, in oneexample, a semantic network 80 includes nodes 81 and links 82. Nodes 81represent concepts, such as a “Person”, “Bank”, or a “Bank Account”.Links represent relationships between nodes, such as “owns account” 82.The combination of nodes 81 and links 82, such as “Person: A” “ownsaccount” “Bank Account: B, encodes domain knowledge, such as A owns bankaccount B. New nodes and links are added to the semantic network, as newfacts become known. In the example of FIG. 1, “Sue” and “Bob” representreal world knowledge about two “Persons” with “Bank Accounts” and“Transactions”. At any time, knowledge can be extracted from thesemantic networks through querying for links and nodes. By followingcertain chains of links, knowledge can be extracted from a semanticnetwork 80. Consider, for example, the darker links 83 in FIG. 2. Byfollowing those links, one can conclude that Bob is a Person. In theexample in FIG. 3, by following the darker links 84, one can concludethat Bob sends money to Sue.

In these prior art systems, knowledge needs to be explicitly added inthe semantic network. New nodes and links are created through anexplicit association between data and a node-link pair in the semanticnetwork. As data become available, a computer program implements theexplicit association and adds content to the semantic network. In theseprior art systems, there is no mechanism for automatically andsystematically adding new content to a semantic network, through aprocess of “inference” applied to the existing content of the semanticnetwork. In addition, prior art semantic networks do not providemechanisms for representing history. This precludes adding new knowledgethrough learning changes in the semantic network over time.

Accordingly, there is a need for systems and methods that extend asemantic network to include reasoning which adds new nodes and links tothe network over time, as trends are captured or learning occurs orconclusions are drawn, by way of inferences.

SUMMARY OF THE INVENTION

The present invention provides a computer system and a computer-basedmethod for automatically deriving insights from facts. The system andthe method are used to automate processes, increase situationalunderstanding and activate people to undertake right actions at theright time.

In particular, this invention addresses the challenge of homeboundpatients with complex chronic conditions managing their health in theirhome environment. Multiple compounding conditions contribute to thechallenge: lack of or diminishing cognitive ability sufficient tounderstand the rigor necessary to maintain health; the care team's lackof knowledge of the situation in the home; and the clinicians' lack ofknowledge of how well the prescribed therapy is working. The presentinvention provides a personal illness management system thatincorporates semantic reasoning for automatically deriving insights fromfacts. The computer system and the computer-based method are used toautomate processes, increase situational understanding and activatepeople to undertake right actions at the right time.

In general, in one aspect the invention provides a personal illnessmanagement system that includes an extended semantic model of a healthcare knowledge domain, a semantic knowledge database for personalillness management, and an inference engine. The extended semantic modelof a health care knowledge domain includes existing concepts related topersonal illness management, existing relationships among the existingconcepts, and inference logic embedded within each existing concept.Each existing concept comprises associated properties and the embeddedinference logic is used for inferring values of the associatedproperties and comprises conditions and processes for drawingsinferences about an existing downstream concept that is connected to anexisting concept via an existing relationship. The semantic knowledgedatabase for personal illness management is distinct from the extendedsemantic model and comprises existing nodes and existing links. Theexisting nodes represent instances of the existing concepts, and theexisting links represent instances of the existing relationships amongthe existing concepts. The inference engine is knowledge domainindependent and populates the semantic knowledge database with theinstances of the existing concepts and the instances of the existingrelationships by following the inference logic embedded within eachexisting concept. The inference engine adds new nodes and new links tothe semantic knowledge database by first receiving external data, nextgenerating instances of fact nodes and associated links representingsaid external data, and then recursively adding and updating downstreaminsight nodes and associated links. The system further includes acomputing system comprising at least a processor configured to executethe inference engine operating on the inference logic of the extendedsemantic model and to host the semantic knowledge database. The systemalso includes a user interface that sends queries from a patient and/ora caregiver to the semantic knowledge database and receives queryresults and provides decision support to the patient and/or thecaregiver. The system provides computer implemented instructions forsemantic reasoning for behavioral activation of the patient to managethe patient's illness.

Implementations of this aspect of the invention include the following.The system further includes interactive devices comprising at least oneof a care station, a wearable sensor, an external sensor, a personalcommunication device, a care portal. The patient and/or the caregiversend data to the inference engine through at least one of theinteractive devices and receive query results from the semanticknowledge base. The care station and/or the care portal comprise theuser interface that sends queries from the patient and/or the caregiverto the semantic knowledge database and provides decision support to thepatient and/or the caregiver. The personal communication device is awearable device that transmits movement data to the inference engine andnotifies the patient when the patient needs to be alerted or reminded ofa certain action. The computer implemented instructions for semanticreasoning for behavioral activation of the patient comprise structuringand scheduling activities for the patient, monitoring the patient'sscheduled activities, analyzing data from the patient's scheduledactivities, identifying problems with the patient's scheduledactivities, and activating follow-up activities. Structuring andscheduling activities for the patient comprise providing instructionsfor taking medication, meals, exercising, monitoring vital signals,checking for symptoms, clinical appointments and social events.Monitoring the patient's scheduled activities and analyzing data fromthe patient's scheduled activities comprise monitoring the patient'svital signals, symptoms, medication adherence, meal taking, exercising,clinical appointment attendance, and response to social interactions.Identifying problems with the patient's scheduled activities comprisemaking inferences about quality of adherence to taking medications,meals, exercising, attendance of clinical appointments, vital signalresponse, symptom checking, and response to social interactions. Theexisting concepts of the extended semantic model comprise concepts forpeople involved in illness management and the concepts for peoplecomprise patients, caregivers, and physicians. The existingrelationships among the existing concepts describe which caregiver isassigned to which patient, and which physician is assigned to whichpatient. Each concept comprises notes including name, age and gender.The existing concepts of the extended semantic model further compriseconcepts for providing illness management and the concepts for providingillness management comprise clinical appointment, hospital discharge,care guide, medication guide, medicine supply, medicine bottle, exerciseguide and master adherence. The external data that the inference enginereceives comprise patient care plan data, patient vital signal data,patient symptom data, patient self-reported care plan adherence data,and patient movement data. The inference engine processes the externaldata and adds insight nodes that comprise patient daily care plan,timely reminders for care tasks, monitor task performance, monitorhealth, and further reminders when there is an issue with health oradherence. Each existing node comprises existing notes representinginstances of the associated properties of each existing concept. Theexisting links that connect the existing nodes comprise directionalityoriginating from an upstream node and terminating at a downstream node.The system further includes a data normalizer configured to receive dataand normalize them to the existing concepts and existing relationshipsof the extended semantic model. The system further includes a repertoirelibrary and the repertoire library comprises a set of repertoirefunctions. Each repertoire function is assigned an unique identifiernumber that associates the repertoire function with the inference logicembedded in each concept in the extended semantic model and therepertoire functions are automatically invoked by the inference enginein the process of adding and updating insight nodes. The set ofrepertoire functions comprise one of resolver, context-gate, collector,qualifier or operators. Each type of repertoire function fulfills aspecific role in the inference process. The extended semantic modelfurther comprises upstream concepts and downstream concepts and theupstream concepts are connected to the downstream concepts viarelationships, and the inference logic of each upstream concept furthercomprises conditions and processes for creating and updating instancesof corresponding downstream concepts and each of the downstream conceptsis automatically inferred by the inference engine using the inferencelogic embedded in a corresponding upstream concept whenever thecorresponding upstream concept is instanced as a node or when the nodeis modified and the conditions for creating or updating the downstreamconcept are met. Each of the properties comprises values associated withan existing concept or a chain of links connecting data within anupstream concept with a downstream concept and the properties are usedby the inference engine for implementing the logic for instancing anassociated link to a downstream concept or for instancing properties ofsaid downstream concept. The system further includes an extensiblemeta-language for querying the semantic knowledge base and theextensible meta-language comprises a vocabulary of fundamental wordsthat are common to all extended semantic models and independent of anyspecific domain knowledge contained in any specific semantic model andthe inference engine has a built-in interpreter that can perform theactions specified in the fundamental words, and the inference engine caninterpret a collection of words built from fundamental words and newdomain specific query words are built upon the fundamental words suchthat they can be interpreted and implemented by the inference enginewithout the inference engine being coded with domain specific querylogic. The computing system comprises a mechanism for storing andretrieving knowledge to and from the semantic knowledge base that isdistributed over multiple computing systems. The extended semantic modelis extended by adding new fact concepts, new insight concepts, oranother extended semantic model and the addition of each new insightconcept includes specifying within its upstream concepts the logic toadding or updating the new insight concept.

In general, in another aspect the invention provides a method forproviding personal illness management including the following. First,providing an extended semantic model of a health care knowledge domaincomprising existing concepts related to personal illness management,existing relationships among the existing concepts, and inference logicembedded within each existing concept. Each existing concept comprisesassociated properties and the embedded inference logic is used forinferring values of the associated properties and comprises conditionsand processes for drawings inferences about an existing downstreamconcept that is connected to an existing concept via an existingrelationship. Next, providing a semantic knowledge database for personalillness management being distinct from the extended semantic model andcomprising existing nodes and existing links. The existing nodesrepresent instances of the existing concepts, and the existing linksrepresent instances of the existing relationships among the existingconcepts. Next, providing an inference engine that is knowledge domainindependent and populates the semantic knowledge database with theinstances of the existing concepts and the instances of the existingrelationships by following the inference logic embedded within eachexisting concept. The inference engine adds new nodes and new links tothe semantic knowledge database by first receiving external data, nextgenerating instances of fact nodes and associated links representing theexternal data, and then recursively adding and updating downstreaminsight nodes and associated links. Next, providing a computing systemcomprising at least a processor configured to execute the inferenceengine operating on the inference logic of the extended semantic modeland to host the semantic knowledge database. Next, providing a userinterface that sends queries from a patient and/or a caregiver to thesemantic knowledge database, receives query results and providesdecision support to the patient and/or the caregiver. Next, providingcomputer implemented instructions for semantic reasoning for behavioralactivation of the patient to manage the patient's illness.

BRIEF DESCRIPTION OF THE DRAWINGS

Referring to the figures, wherein like numerals represent like partsthroughout the several views:

FIG. 1 depicts a prior art notional semantic network describing banks,account holders and transaction between accounts;

FIG. 2 is an illustration of an example for drawing inferences from thenotional semantic network of FIG. 1;

FIG. 3 is an illustration of another example for drawing inferences fromthe notional semantic network of FIG. 1;

FIG. 4 illustrates a systematic approach for extending a semanticnetwork with new knowledge derived through inference, according to thisinvention;

FIG. 5 illustrates the components of a semantic reasoning frameworkaccording to this invention;

FIG. 6 depicts one use of the present teachings to create a structurednarrative from disconnected data;

FIG. 7 illustrates an expanded definition of concepts and links in theextended semantic model;

FIG. 8 illustrates that extended semantic model defines higher levelknowledge concepts that are derived from lower level knowledge concepts;

FIG. 9 illustrates an example of an extended semantic model for aFinancial Transaction Analysis System (FTAS) as an extension of thesemantic model of FIG. 1;

FIG. 10 illustrates one example of inferred nodes and links for thegeneric semantic model of FIG. 8;

FIG. 11 illustrates an example of inferred nodes and links for the FTASsemantic model of FIG. 9;

FIG. 12 illustrates an example of an expanded definition of concepts andrelationships for the semantic model of FIG. 9 and an associatedknowledge base;

FIG. 13 illustrates the process of creating knowledge;

FIG. 14 illustrates the preparation for normalizing data;

FIG. 15 is a flowchart for the data normalizing process;

FIG. 16 is a flowchart for the process of recursive updating;

FIG. 17 is a flowchart for creating new nodes and links throughinference;

FIG. 18 illustrates an example of positing new relationships;

FIG. 19 illustrates the meta-language interface to the inference engine;

FIG. 20 is a flowchart for the knowledge query process;

FIG. 21 is an example of a distributed knowledge base;

FIG. 22 illustrates a computational configuration for implementing thesemantic reasoning system;

FIG. 23 illustrates the process of establishing of context through thesemantic reasoning of the present teachings;

FIG. 24 illustrates one aspect of using sensors within a home to inferactivities of daily living (ADL);

FIG. 25 illustrates a design for a transceiver system used to send andreceive RF signals to be used to infer ADL;

FIG. 26 illustrates an embodiment for accessorizing the wearable RFtransmitter of the sensor system for inferring ADL;

FIG. 27 illustrates that the RF transceivers are powered through astandard USB charger connected to a wall socket;

FIG. 28 illustrates a design for the communication hub for the sensorsystem for inferring ADL;

FIG. 29 illustrates that the communication hub of FIG. 28 that powersthe wearable RF transmitter, is in turn powered through a USB chargerand is connected to the Internet via an Ethernet connection;

FIG. 30 illustrates one aspect of processing signal strength from apager as received by transceivers, to locate a care recipient within ahome;

FIG. 31 illustrates using a clustering algorithm on signal strength datato locate a care recipient within a home;

FIG. 32 illustrates inferring activities of daily living from a sensorset in FIG. 24;

FIG. 33 illustrates the semantic model for inferring activities of dailyliving;

FIG. 34 illustrates three aspects of behavioral activation, which is anapplication of the present teachings;

FIG. 35 illustrates one example of a personal chronic illness managementsystem (PCIMS);

FIG. 36 illustrates an example of creating knowledge in a personalchronic illness management system;

FIG. 37-FIG. 37C illustrate a semantic model for a personal chronicillness management system;

FIG. 38 illustrates examples of inferencing in a personal chronicillness management system;

FIG. 39 illustrates care plan processing in a personal chronic illnessmanagement system;

FIG. 40 illustrates the processing of physiologic data in a personalchronic illness management system;

FIG. 41 illustrates the processing of self reported data in a personalchronic illness management system;

FIG. 42 illustrates reasoning based on location of a care recipientwithin a home;

FIG. 43 illustrates an alert protocol used within a personal chronicillness management system;

FIG. 44 illustrates one implementation of operators for thehyperglycemia alert concept in a personal chronic illness managementsystem;

FIG. 45 illustrates a touch screen interface for a client whose behavioris activated by a personal chronic illness management system;

FIG. 46 illustrates an additional layer of interactions with a user thatis docked to the application dashboard;

FIG. 47 illustrates interaction with the user, docked to the applicationdashboard, reminding the user to take their vitals before going to bed;

FIG. 48 illustrates multiple layers of interactions, each building uponthe other, docked to the application dashboard;

FIG. 49 illustrates another type of interaction with a user, docked tothe application dashboard, reminding the user to pay attention to theirappropriate eating schedule;

FIG. 50 illustrates multiple types of interactions with a user, dockedto the application dashboard;

FIG. 51 illustrates another type of interaction with a user, docked tothe application dashboard, asking the user to check for swelling intheir legs;

FIG. 52 illustrates the application dashboard for a personal chronicillness management system with the ability to hide or reveal additionaloptions for interactions;

FIG. 53 illustrates an application of a clinical protocol to respond tofluid buildup as inferred by the personal chronic illness managementsystem;

FIG. 54 illustrates an application of a clinical protocol to respond tohyperglycemia as inferred by the personal chronic illness managementsystem;

FIG. 55 illustrates the primary interface care-portal used by thecaregiver users of the personal chronic illness management system;

FIG. 56 illustrates that the care-portal summarizes health and care-planadherence alerts;

FIG. 57 illustrates the care-portal's provision to set up doctorsappointments, layered over the initial interface;

FIG. 58 illustrates the care-portal's provision to update the user'scare plan, such as an exercise plan;

FIG. 59 illustrates the care-portal's provision to enter new medicationin the care plan, indicating the dosage, type of medication, andschedule;

FIG. 60 illustrates the care-portal's provision to add, edit, and removemedications to be taken by the user on a scheduled basis;

FIG. 61 illustrates the different viewing options, both graphic andstatistic, of the user's adherence to their care plan;

FIG. 62 illustrates the different viewing options, both graphic andstatistic, of the user's health based on their recording of theirvitals;

FIG. 63 illustrates the user's overall adherence of meals, medication,and monitoring all on the same graph;

FIG. 64 illustrates one example of extending the semantic model byjoining multiple semantic models;

FIG. 65 illustrates another example of extending the semantic model byadding new insight concepts.

DETAILED DESCRIPTION OF THE INVENTION

The present invention provides a semantic reasoning computer system anda computer-based semantic reasoning method for automatically derivinginsights and conclusions from facts through the use of a reasoningframework. The semantic reasoning system includes a semantic model, asemantic knowledge base, and an inference engine. The semantic modeldefines what needs to be known. The semantic knowledge base representsall that is known. The inference engine adds knowledge to the semanticknowledge base, by following a process for drawing conclusions. Thesemantic reasoning computer system and the computer-based semanticreasoning method are used to automate processes, increase situationalunderstanding and activate people to undertake right actions at theright time.

Referring to FIG. 4, a system 100 for semantic reasoning, according tothe present invention includes a semantic model 1000, an inferenceengine 2000 and a semantic knowledge base 3000. The semantic model 1000includes the concepts 1001, 1002 and relationships 1003 that define thecontents of a domain's knowledge. The semantic model 1000 alsoidentifies the conditions and processes that cause a new concept to beinferred from an existing concept. The semantic knowledge base 3000, isdistinct from the semantic model 1000, and represents what is known asinstances of the concepts and relationships defined in the semanticmodel 1000. The semantic knowledge base 3000 represents knowledgethrough nodes 3001, 3002, which are instances of concepts, links 3003which are instances of relationships among concepts and attributes ofnodes and links. The semantic knowledge base 3000 uses nodes and linksto represents what is explicitly known and what is inferred. Theinference engine 2000 applies the process of reasoning defined in thesemantic model 1000 to continually add inferred nodes and links in theknowledge base 3000. Inferred nodes may recursively trigger furtherreasoning which in turn may create additional inferred nodes to continuethe process of creating new knowledge.

Referring to FIG. 5, a system 100A to which the present invention isapplied includes an extended semantic model 1000, an inference engine2000, a semantic knowledge database 3000, a data normalizer 4000,repertoire 5000, knowledge query 6000, and user interface 7000. Theextended semantic model 1000 includes the concepts and relationshipsthat are to be known and the methods through which they are known. Theinference engine 2000 uses the specifications in the extended semanticmodel 1000 to draw conclusions from facts, through a cascaded process ofinference creating insights and insights triggering further inferencing.The semantic knowledge database 3000 stores knowledge in the form ofnodes connected via links. The data normalizer 4000 includes a processand a meta-language through which data about the real world arenormalized to the concepts and relationships defined in the semanticmodel 1000 and sent to the inference engine 2000 for conversion to nodesand links. The repertoire 5000 includes a set of functions that areidentified in the semantic model 1000 and are systematically invoked bythe inference engine 2000 to create instances of the semantic model1000. The knowledge query 6000 includes a process and a meta languagefor querying the knowledge database 3000 for nodes, links and attributesof nodes and links. The user interface 7000 displays the queriedknowledge 6000 in a cognitively friendly way.

In one example, the semantic reasoning system 100A of FIG. 5 is used toprovide decision support. The inferred nodes represent knowledge that auser desires. A user queries the semantic knowledge base 3000 forinferred nodes through a user interface 7000 and the resultinginferences are presented to the user via the user interface 7000 fordecision support. In another example, the semantic reasoning system ofFIG. 5 is used to construct a narrative from data. One or more conceptsin the semantic model may define the content of the narrative and howthe narrative should be constructed. As data becomes available andrepresented in the semantic knowledge base, the inference engineconstructs the narrative that the data supports.

FIG. 6 illustrates an example of converting data 110 into a collectionof linked knowledge and the associated decision support and narrativederived through a process of inference. In this example, a set ofisolated facts 110 from a person's medical history is stitched togetherby the inference engine 2000 to create a composite picture 120 of theperson's health history. Furthermore, based on the health history 120and clinical guidelines, the inference engine 2000 is able to drawconclusions 130 (e.g. the person is retaining fluid) and recommendations(e.g. the person should call physician). Decision support may includealerts sent to caregivers when health issues, such as fluid retention,are inferred. The narrative would be a telling of the inferredcondition, the supporting data and the rationale for the inference.

Extended Semantic Model

Cascading knowledge through inferencing begins with an extended semanticmodel 1000. The extended semantic model defines the concepts and therelationships among concepts that represent all the knowledge that is tobe captured about a domain. The semantic model also defines the processthrough which concepts and relationships are inferred.

In prior art systems, the semantic network makes no distinction betweenconcepts and their instances. For example, in FIG. 1, “Person” and “Bob”are both nodes in the network. A link of type “is an instance” 83represents the knowledge that Bob is a person, shown in FIG. 2. Thisambiguity in whether a node represents a concept or an instance of it,is a hindrance to inferencing in the prior art semantic networks. In thepresent invention, representations of concepts, i.e. things that can beknown, are kept separate from nodes, i.e. things that are known.Concepts are represented in the semantic model 1000 while nodes arerepresented in the semantic knowledge database 3000. This separation isillustrated in FIG. 9 and FIG. 11. FIG. 9 depicts “Person” as a conceptwhile FIG. 11, its corresponding semantic model, represents “Bob” and“Sue” as instances of a “Person”. This separation establishes a clearrole for the inference engine, to populate the semantic knowledge basewith instances of the semantic model.

FIG. 7 depicts various ways that the present invention extends asemantic model. The extensions are designed to overcome limitations thathinder inferencing in prior art semantic networks. In prior art systems,as depicted in FIG. 1, knowledge in a semantic network is represented asnodes 81 and links 82 connecting the nodes. The links typically have nodirectionality. The entire knowledge of the network is represented bywhich nodes are connected by which links. In the present invention,relationships that connect concepts are given directionality. Thedirectionality is depicted by an arrow 150, as shown in FIG. 7. Thedirectionality allows the representation of an “upstream” concept 1100,which is depicted at the origination of the arrow 150, and a“downstream” concept 1500 depicted at the termination of the arrow 150.Differentiating between upstream and downstream concept is critical toinferencing. As will be described later in FIG. 16, instantiation of anupstream concept triggers the process of determining whether downstreamconcepts are ready to be instantiated.

In another extension of the semantic model, concepts in the presentinvention are defined to have data associated with them. The dataassociated with a concept are referred to as notes 1200, as depicted inFIG. 7. A note can be of two types: it can refer to values that areassociated with a concept such as “age” for a “Person”. The note canalso refer to data within upstream concepts that are connected by achain of links to the downstream concept containing the referred note.The notes for a concept are the source of the data that the inferenceengine uses to draw conclusions about that concept.

In another extension of the semantic model, a concept defines multipletypes of functions 1250, each of which has a well defined purpose in theinference process. FIG. 7 depicts 5 such types of functions 1250including Resolver, Context Gate, Collector, Qualifier and Operator,among others. Each of these functions have a unique role in theinference process, as will be described later. Each of these functionsis catalogued in a collection called repertoire 5000, shown in FIG. 5and is identified by a unique number. The semantic model referencesthese functions by their identity number. The inference engine 2000systematically and dynamically invokes these functions 1250 during theprocess of creating instances of the concept, as will be describedlater.

In another extension of the semantic model, the relationships 1300 aredefined to have certain properties. The relationships 1300 are alsoinferred by the inference engine 2000 and instanced in the knowledgedatabase 3000. Properties can be of multiple types, e.g. Cardinality,Active/Passive/Custom 1400, among others. The properties 1400 definedfor a relationship 1300 are interpreted by the inference engine 2000 toimplement specific logics for instancing the links.

FIG. 8 depicts yet another way that the semantic model 1000 is extended.In the present invention, the semantic model describes two types ofconcepts: “Facts” 1100 and “Insights” 1700. Facts 1100 represent what isdirectly observed or known about the world. Insights 1700 are conceptsthat are inferred from facts 1100. Relationships 1300 between facts 1100and insights 1700 are also automatically inferred by the inferenceengine 2000. Insights 1700 represent intermediate knowledge derivedthrough analysis, learning and application of logic. The highest levelof insights 1700 represents the ultimate answers to be inferred. Thesemantic model 1000 can define as many facts 1100 and insights 1700 asneeded to describe the domain knowledge.

FIG. 9 is an example of an extended semantic model 1000. It extends thesemantic model of FIG. 1 to also include insight concepts that areinferred. In FIG. 9, concepts “Person” 1101, “Bank Account” 1102, “BankAccount” 1103, and “Bank Transaction” 1104 denote the same conceptsdepicted in FIG. 1. They represent facts 1100 that are explicitly known.“Personal Transaction” 1501, “Spending Pattern” 1502, “Fund Need” 1701and “Transactional History” 1702 represent concepts that are inferredand hence are insights 1700. Some relationships such as “owns account”1306 are explicitly known and represent facts 1100. Other relationships,such as “transacts money” 1301 and “primarily receives money” 1304 areinferred by the inference engine 2000.

A semantic model is extensible. Its building blocks include upstream1100 and downstream 1500 concepts, notes 1200, functions 1250,relationships 1300, and properties 1400. The semantic model 1000 of aspecific domain (e.g. the financial transactions domain depicted in FIG.9) defines the specifics of the building blocks, e.g. “Person” is anupstream concept to “Bank Account”, which are connected by arelationship “owns account”. The inference engine 2000 processes“Person” as an upstream concept and “Bank Account” as a downstreamconcept. The specifics about these concepts, i.e., its notes andfunctions, are all read from the semantic model and dynamicallyprocessed by the inference engine 2000 through its inner logic forinferencing. The depiction of a semantic model in terms of buildingblocks allows it to be used by any number of domain applications.

Semantic Knowledge Base

As depicted in FIG. 4, the semantic model 1000 is the blueprint of whatknowledge is stored in the semantic knowledge base 3000. The inferenceengine 2000 is responsible for instancing all knowledge stored in theknowledge base 3000.

FIG. 10 depicts the general form of a semantic knowledge base 3000. Itpresents an example of instances of concepts and relationships for thegeneral form of the semantic model depicted in FIG. 8. Corresponding tothe fact concepts 1100 of FIG. 8 are the fact nodes 3100 of FIG. 10.Corresponding to the insight concepts 1500 and 1700 of FIG. 8 are theinsight nodes 3500 and 3700 of FIG. 10. Links 3300 in FIG. 10 connectall nodes and correspond to relationships 1300 of FIG. 8 among thenodes. All nodes and links are created by the inference engine 2000,through direct knowledge about the world 3100 or through conclusionsdrawn from the direct knowledge about the world 3500 and 3700.

FIG. 11 is an example of a specific semantic knowledge base for thefinancial transactions semantic model defined in FIG. 9. In thisexample, there are two instances of the person concept: Bob 3101 and Sue3102, each owning a bank account. Bob's account 3103 is with City Bank3105 and Sue's account 3104 is with State Bank 3106. The two accounts3103, 3104 have had three financial transactions 3107, 3108, 3109described by two types of links: sends money 3310, 3312, 3314 andreceives money 3311, 3313, 3315. For each of these transactions, Bobsends money indicated by links 3310, 3312, 3314 and Sue receives itindicated by links 3311, 3313, 3315. The nodes 3101-3109 are allinstances of fact concepts, known through external data sources.

Multiple types of inferences occur as soon as the fact nodes areinstanced. In one type of inference, new links are created betweenexisting nodes. For example, in FIG. 11, link 3307 is created betweenBob 3101 and Sue 3102 to indicate that Bob and Sue transact money. Asecond type of inference sets attribute values in existing nodes. Forexample, the creation of a bank account node or a link to itautomatically triggers the running of specific functions defined withthe bank account concept that calculates the account balance attribute.A third type of inferencing determines if the creation of upstream factnodes prompts the creation of downstream inferred nodes. FIG. 11 depictsthree examples of inferred downstream nodes 3501, 3503, 3504. Nodes3501, 3505, 3506 are prompted by the creation of each transaction 3107,3108, 3109, respectively, between Bob's and Sue's Bank Accounts 3103,3105, respectively. The first instance of concept type “PersonalTransaction” 1501 in FIG. 9 between Bob and Sue, 3501 triggers thecreation of an instance 3701 of the concept type “Transactional History”1702 shown in FIG. 9. Each subsequent personal transaction 3505, 3506creates additional links to node 3702 which tracks the history ofpersonal transactions between Bob and Sue to infer who primarily sendsmoney 3320 and who primarily receives it 3321. Other examples ofinferred nodes in FIG. 11 include 3502 and 3503 which track Sue's andBob's spending habits from which the inference engine can predict whenan account will need a deposit 3701. The updates to 3503 from 3104 andto 3701 from 3503 are examples of automatic enhancements of semanticknowledge through inferencing that is enabled by this invention.

FIG. 12 depicts the three different ways that knowledge is representedin the extended semantic knowledge base: nodes represent concepts 1100defined in the semantic model, attributes represent notes 1200 withinconcepts and capture data about the node, and links representrelationships 1300 among nodes.

The example in FIG. 12 provides details for two of the concepts definedin FIG. 9: the “Person” and “Bank Account” concepts. The person conceptis defined to have three notes: Name, Age and Gender. The correspondingnode in the semantic knowledge base represents a person named Bob 3050in FIG. 12, age 42, male. He owns a bank account 3060 with accountnumber 123456 with account balance $1345.60. Account number and accountbalance are notes in the bank account concept. The third note in thebank account concept is the account holder. This note is a link to the“Name” note in the upstream “Person” concept.

Inference Engine

The inference engine 2000 is responsible for creating nodes and links inthe semantic knowledge base as instances of concepts and relationshipsin the semantic model. FIG. 13 depicts the overall flow of the inferenceprocess 100B. The enhanced semantic model 1000 defines the logic forcreating instances in the semantic knowledge base 3000. The semanticmodel identifies the functions to be systematically invoked by theinference engine 2000 during the instancing of a specific concept. Thesefunctions, collectively called the repertoire 2700, may be compiled ormay be depicted in the meta-language that is interpreted in real time bythe inference engine. The ability to code domain dependent functions inan interpreted meta-language means that they remain external to the coreinference system and can be added/updated as needed without requiring anupdate to the software of the core inference engine.

The functions in the repertoire 2700 are of fixed types Resolver,Context Gate, Collector, Qualifier and Operator. Each type of repertoirefunction has a specific role during the inference process. A repertoirefunction may be domain independent and thus applicable to a wide classof inference problems. Alternatively, a repertoire function may beapplicable only for a specific semantic model for a domain.

The inference process begins with facts about the real world that arenormalized to the semantic model 2600 and input to the inference engine.The normalized facts are seed knowledge in the semantic knowledge base3000.

Whenever any knowledge is created or updated in the semantic knowledgebase nodes, links, and attributes, it triggers the cascading ofknowledge that is downstream 1002 from the upstream concept 1001 justinstanced or updated, as shown in FIG. 4. When a concept is instanced,its downstream concepts or their corresponding nodes are identified andconsidered for instancing or update 2200. A series of functions definedwith the concept in the semantic model 1000 are executed by theinference engine to determine whether conditions for creating newnode/link or updating an existing node/link are satisfied 2300.

FIG. 14 describes the start of the data normalization process 60. In oneembodiment, the data normalizer 2600 (shown in FIG. 13) periodicallypolls all external data sources for new data. Alternately, external datasources could push new data to the data normalizer as they becomeavailable. The data normalizer interprets which of the data aredescribed in the semantic model, and those that are not described areignored. Those that are described in the semantic model are sent to theinference engine as a packet of information that identifies whichconcept/note/relationship the data correspond to. The inference enginedetermines if the data are already contained in the semantic knowledgebase, and if not, it adds the data to the semantic knowledge base.

The inference process has three stages: first stage 40—creatinginstances of fact nodes and associated links, is shown in FIG. 15;second stage 50—recursively updating downstream nodes, is shown in FIG.16; and third stage 70—instancing downstream insight nodes andassociated links, is shown in FIG. 17. The inference process, depictedin FIGS. 15-17, invokes five types of functions: Resolver, Context-Gate,Collector, Qualifier and Operators. These functions are identified inthe definition of concepts in the semantic model. The functions arereferenced via their index in a library of functions, called therepertoire 2700. The inference engine dynamically accesses thesefunctions, in real time, based on their index in the repertoire.

FIG. 15 depicts the logical flow of the first stage 40 of inferencing:creating instances of fact nodes and associated links. The first step isto check if the fact represents a node that already exists in theknowledge base. If so, new attribute values are added to the existingnode instance. If the fact is not already instanced, the inferenceengine checks whether the fact concept defines a “Resolver” function.The resolver function and its argument define when a new instance of aconcept is to be instanced. The most commonly used resolver is the“Standard Resolver”. This method checks whether there are any nodes inthe knowledge base with the same attribute as the argument for theresolver function, referred to as the “Resolving Attribute”. An exampleof a resolving attribute for a person is a Social Security Number, aunique qualifier. If a node with a resolving attribute exists, then nonew instance is required. Otherwise, a new instance is created. If theresolver function does not include an argument, then a new instance ofthe concept is created every time. After resolving whether a newinstance of the concept is to be created or an existing node is to beupgraded, the inference engine runs the concept's “Qualifier” functionto determine whether the node should be enabled. Enabled nodes canactivate the cascading of knowledge to downstream nodes. Nodes becomeenabled when conditions stated in the qualifier function, such as havingcertain values for certain required attributes, are met. Until enabled,an upstream node cannot trigger the creation of downstream nodes. Onceenabled, the inference engine runs the concepts “Operator” functions.The operator functions computes the values of the notes defined for theconcept, such as “Account Balance” for the “Bank Account” concept 1160,shown in FIG. 12.

In the second stage of inferencing, when a node is newly enabled orupdated, its downstream links and nodes are activated. FIG. 16 depictsthe logical flow 50 of the algorithm to update downstream nodes. Theprocess updates the node's attributes that depend on attributes inlinked, upstream nodes. Once attributes are updated, if the node is notyet enabled, the qualifier function is run again to determine whetherthe node should be enabled. If enabled, the process to instancedownstream nodes are initiated. And finally, the operator function isexecuted to complete the node update.

In the third stage of inferencing, instances of insight nodes and theirassociated links are created. FIG. 17 depicts the logical flow 70 of thealgorithm for creating insight nodes and associated links. The processstarts when a fact node includes an operator function called “PositHandler” which essentially triggers the process of instancing downstreamnodes. The first step in instancing insight nodes is to verify that theattributes in the upstream nodes have values that support the creatingof a downstream insight node. This criterion is coded in a“Context-Gate” function defined for the downstream node and isdynamically invoked by the inference engine. The context-gate functionreturns a Boolean value. If the returned Boolean value is “true”, thedownstream node's resolver function is invoked. If no node satisfyingthe resolving criterion exists in the knowledge base, a new node iscreated and linked to the upstream node that triggered its creation. Thenew node and its links are stored in the knowledge base. The second stepin the third stage of the inference process is to collect attributes forthe newly instanced node. Recall that concepts can contain two types ofnotes: one that directly stores values, and those that link to attributevalues in other nodes, as shown in FIG. 12. The “Collector” functioncollects attributes values from upstream nodes and associates it withown notes. These attribute values are stored in the knowledge base. Thethird step in the third stage of inference process is to execute theconcept's qualifier function to determine whether the node is enabled.Once a node is enabled, its operator functions are executed. If theoperator function includes a “Posit Handler”, downstream nodes aretriggered and the process in FIG. 17 is implemented again for thedownstream nodes, continuing the process of cascading knowledge.

FIG. 18 illustrates the result of executing the Posit-Handler. Considerconcept A with relationships with concepts B, C and D. Let's suppose, tobegin with the instance of A had a link to an instance of B. ThePosit-Handler operator in A posits that new links may be created betweenA and C and A and D. The inference process creates a new node D and newlinks AC and AD. It also activates the already existing node B. Thecreation/activation of nodes B, C and D triggers the Posit-Handler inNodes B, C and D, starting the process to create the next set of nodesand links. This cascading process of creating new Insight nodes andassociated links is the core of the semantic reasoning method of thisinvention.

Meta-Language Interface to Inference Engine

The inference engine in the present invention is designed to beapplicable to a class of inference problems that can be represented bythe semantic model of the present invention. The inference enginereduces the semantic model to its fundamental building blocks e.g.concepts, nodes, functions, relationships and applies its inferencelogic to the specifics represented by the building blocks. The buildingblocks of the semantic model and its corresponding semantic knowledgebase are described by an extensible meta-language, including avocabulary of “words” and “syntax” for interpreting words. The words inthe vocabulary of the meta-language build upon other words. Themeta-language is an extension of the programming language called FORTH.The present invention includes an interpreter for the FORTH language.The interpreter is the interface between the inference engine and boththe semantic model and the semantic knowledge base. The interpreterinterprets standard FORTH words. In addition, it interprets words thatdescribe the building blocks of the semantic model concepts, notes,relationships, and functions, among others. The interpreter alsointerprets the semantic knowledge base nodes, attributes, and links,among others. The interpreter also interprets new words in themeta-language that are built upon the abstract words for the buildingblocks to describe domain specific semantic concepts.

FIG. 19 illustrates the meta-language of the present invention. In thisexample, “DUP”, “IF”, “THEN” and “DROP” are fundamental words, definedin a standard FORTH vocabulary. Words such as “SEEK” and “MATCH” arefundamental words needed to describe the building blocks of the semanticmodel and the semantic knowledge base. “SCAN” is an example of a domainspecific word that describes a repertoire function defined for thisexample. The example also provides a definition of a domain specificquery word “TypeNEFriendPhone” that searches the knowledge base andreturns a list of friends in New England. The definition begins with thesyntax “:” and ends with the syntax “;”. The user interface sends astring of words to the interpreter for the inference engine, which caninclude the dynamic definition of a word, such as TypeNEFriendPhone, andthe request to execute the word, specified in this example by the string“26 ̂ TypeFriendPhone# isFriendOf SCAN”. The inference interprets thequery and returns the friends of a person designated in the knowledgebase by “26”. Such an extensible meta-language for interfacing theinference engine to the semantic model has the benefit that the semanticmodel can be added/updated as needed without requiring software updateto the core inference engine software. Without the ability todynamically define words that depict concepts and relationships definedin the semantic model and queries for nodes and links stored in thesemantic knowledge, the present invention will not scale to inferencingabout real world problems where concepts change and evolve over time.

The contents of the semantic knowledge base, represented as nodes withattributes connected by links, can be queried through the meta-languageof the present invention. The meta-language is flexible and extensibleenough to be able to query for anything in the knowledge base: all orsome nodes (specified by restriction on attributes) of a certain concepttype, attributes of any nodes, and the links to and from any set ofnodes. In addition to querying for updated nodes and links, themeta-language can be used to query for all decision support nodes, suchas alerts, reminders and recommendations. These decision support nodesare a special type of insight nodes. For each decision support node, theinterface does one of three things: notifies the users of new actionableitems, increases the urgency for previously notified actionable itemswhich have not been acted upon, or removes the notification ifappropriate actions have been taken. This type of intelligent display ispossible because the system tracks every user input and automaticallyadds its implications to the knowledge base.

An application specific user interface queries the semantic knowledgebase and provides decision support to the user. FIG. 20 depicts theflowchart 72 for updating the user interface. At a refresh event, whichmay be periodic or driven by a user action, the user interface queriesthe knowledge base for the current values for all the knowledge that iscurrently displayed. The interface compares the query returns tocurrently displayed values and updates as needed.

The knowledge contained in the knowledge base can be stored in multiplecomputer servers. FIG. 21 illustrates one embodiment of a distributedknowledge base. One server acts as the master containing the addresswhere each node, attribute and link in the knowledge base is stored.When the knowledge base is queried as depicted in FIG. 20, the softwareservice locates the queried node, its attributes and its associatedlinks in the distributed servers, compiles then into the form thatanswers the query and returns it to the user interface.

Applications of Semantic Reasoning

FIG. 22 depicts one embodiment of an application of the presentinvention. The reasoning system is implemented as a set of operatingsystem instructions and is processed by the native hardware hosting theoperating system.

Many different application areas are impacted by the ability to extendknowledge in a semantic network through inferencing. Three applicationareas that are particularly addressed by the present teachings are: 1)automating processes based on inferring what process steps have alreadybeen taken; 2) situational understanding derived from iterative analysesand learning of patterns from routine behavioral data; 3) activatingindividuals to take the right actions at the right time based on whathas been done, what needs to be done and what an individual is capableof doing. These applications require inferences through application oflogic as well as pattern learning, a combination that can beaccomplished through the system and method disclosed in the presentteachings.

In a process automation application, a semantic model defines the causeand effect relationships between the process steps. Inference decideswhich process steps have been undertaken, which steps can be taken nextand automatically triggers the necessary next steps. Upstream conceptsdescribe process steps that are followed by those described bydownstream concepts. Data necessary to perform an upstream process areaccumulated from the downstream (preceding) processes. The Resolver andContext-Gate operators defined within a concept check whether theconstraints for implementing the process step have been satisfied. TheCollectors and Qualifier operators collect and verify all the datanecessary to implement the process step. If all constraints aresatisfied and all data are available, the process is initiated. Datathat result from the initiated process provide the input to theinference engine and are processed as specified in the semantic model.

In a situational understanding application, data from a range of sensorsand user inputs are analyzed to detect situations of interest. Thesemantic model describes the input data and how they are interpreted todetect the presence or absence of situations of interest. Inferencedecides whether data necessary for interpretation are available,automates the process of acquiring necessary data and implements thelogic for determining the presence or absence of situations of interest.Without inferences, each of these steps requires human intervention.

In a behavioral activation application, the semantic model extendsprocess automation and situation understanding to include formulatingrecommendations to users. The semantic network defines responses tospecific situations of interest. When situations of interest aredetected, as in a situational understanding application, inferencesformulate response options, based on the characteristics of thesituation. Without inferencing, formulating options for response becomesa human function.

FIG. 23 presents the overarching approach for all applications of thepresent teachings. Data are interpreted for context. The contextindicates the situation to which a response is needed, whether anautomated response or human intervention. The situation dictates theresponse. The semantic model specifies the relationships between data,context, situation and response. Through the association of methods withconcepts, the semantic model also specifies inference logic. Theinference engine maps the data to concepts in the semantic model andidentifies contexts, situations and responses following the logic in thesemantic model. All inferences are stored in the semantic knowledge basein the form of instances of concepts and relationships between conceptsspecified in the semantic model.

Semantic Reasoning for Process Automation—a Financial TransactionAutomation System (FTAS)

As an example of process automation, we present an application forautomating certain financial transactions. The application, depicted inFIG. 9, FIG. 11 and FIG. 12, describes a system where bank transactionsare analyzed to learn patterns of transactions and inferences anticipatewhen additional deposits will be required. FIG. 9 depicts a snippet ofthe semantic model. It depicts four fact concepts 1101, 1102, 1103 and1104 and four insight concepts 1501, 1502, 1701 and 1703. The factconcepts represent people 1101, their banks 1103, bank accounts 1102 andfinancial transactions 1104. Based on the data represented by theseconcepts, the inference engine continuously analyses pairwisetransactions between two account holders 1501, learns the patterns oftransactions between two accounts 1702, analyses spending pattern 1502,and anticipates 1701 and notifies 1302 need for funds. The functionsinvoked by the inference engine to update nodes 1501 and 1502 arespecified in the definition of concepts 1501 and 1502 and are part ofthe repertoire of functions for the application.

Instances for the facts nodes are created when data about financialtransactions are normalized into the knowledge base, as illustrated inFIG. 11. These data seeds the knowledge base with instances of peoplee.g. Bob 3101 and Sue 3102, their bank accounts and transactions betweenthe accounts 3107-3109. This seed knowledge starts the process ofinferring the insight nodes. Each time a transaction occurs, theinference engine updates corresponding spending pattern 1502 andtransaction patterns between two individuals e.g. 3501, continuing on tofunds needed 3701.

FIG. 12 illustrates details of the semantic knowledge base of FIG. 11.Each instance of a concept in the semantic model includes values for itsattributes, such as age and gender for a person 3050 and account balancefor bank accounts 3060. The semantic knowledge base also representslinks between nodes, such as Bob owning Account-1 3350. The inferenceengine creates links and sets attribute values based on explicitly knownfacts (e.g. age, gender) or through inferencing (e.g. account balance).

As is true for any application of this invention, the semantic model forFTAS (shown in FIG. 9) can be extended to include additional concepts,both facts and insights. The inference engine remains the same,regardless of the semantic model, systematically applying the functionsdescribed in the semantic model to make any inferences that are possiblefrom available data. Examples of extension to the semantic model includespending predictions and automated fund transfers for anticipatedexpenses. These extensions require adding concepts to the semantic modeland adding associated functions invoked by the inference engine to theapplications repertoire.

FTAS illustrates one of the benefits of the present teaching: that largevolumes of data can be automatically processed into higher levels ofknowledge including predictions (e.g. spending patterns and need forfunds). A second benefit is that certain processes, such as fundtransfers in anticipation of need, can be automated, providing avaluable service to bank customers. The logic for anticipation andautomation are explicitly stated in the semantic model and all outcomesof the inference process can be traced back to the semantic model.

In addition to the semantic model, inference engine, semantic knowledgebase, the repertoire of functions, and the external data sources thatseed the knowledge base with fact nodes, any application of thisinvention also includes a user interface that will query the knowledgefor contents of interest to the user. For the FTAS application, the userinterface will include tables and charts depicting spending patterns, aswell as alerts for when funds are needed.

Semantic Reasoning for Situational Understanding: Monitoring Activitiesof Daily Living (MADL)

As an example of semantic reasoning for situational understanding, wedescribe a system that interprets movement data, along withself-reported data, to infer whether key activities of daily living(ADL), such as sleeping, bathing, eating are occurring in a normalfashion. The semantic model describes how data are interpreted intoactivities of daily living. The inference engine continuously appliesthe semantic model to incoming data to synthesize whether expectedactivities are occurring, whether there are departures from normalpatterns and to draw attention to abnormal patterns.

The system for monitoring activities of daily living MADL includes a setof sensors, depicted in FIG. 24, that provide movement data. Thesesensors include a wearable transmitter 12050, also referred to as thepager, which emits a pulse periodically. The pulse is detected by a setof sensors (transceivers) 12000 distributed within the living space. Thesignal strength of the pulse that is detected by each detector is sentto the inference engine via a communication hub 12100.

Each of the transceivers 12000 in FIG. 24 has a unique address. The datathat a transceiver receives from the wearable transmitter 12050 isretransmitted to the communication hub 12100 with the address of thetransceiver. The transceivers are also labeled with the room that theyare to be located. Based on the location, this rebroadcasted signal fromthe transceiver is interpreted for activities of daily living. Forexample, signals from the kitchen are analyzed for patterns that involvesmall movements around the stove, punctuated by trips to refrigeratorsand cabinets. As with all applications of the present teachings, thelogic for interpreting the signals from the transceivers are specifiedin the semantic model and applied by the inference engine to interpretthe movement data.

FIG. 25 depicts the design of the wearable device 12050. The deviceincludes a single chip transceiver, which transmits a signalperiodically, an accelerometer, gyroscope and a magnetometer, a USBconnector for charging and an antenna to transmit and receive signals.The transmitters operate in the 420-450 MHz band, the wavelength beinglong enough to bend around furniture and walls, allowing the transmittedsignal to be picked up by multiple transceivers. The accelerometer dataallow determination of movement, distinguishing resting from moving. Thegyroscope data allows determination of vertical vs. horizontalorientation. The magnetometer allows determination of orientationrelation to north. This information is used to adjust for variations inthe signal measured by the transceivers that that occur from a personturning towards or away from a transceiver by rotating in place. The sumtotal of the data from the wearable device includes the signal strengthmeasured by each transceiver, and the data from the accelerometer,gyroscope and magnetometer. Collectively, these data are analyzed by theinference engine to learn repeated patterns of movement in and aroundthe house. Relative signal strengths measured by the transceivers,corrected for the rotational orientation derived from the magnetometerdata, are processed to learn when the user is in various rooms in thehouse (i.e., kitchen, bathroom, bedroom, dining room, living room) andwhether, when and for how long they are engaged in activities of rest(i.e., sitting, lying, standing) as inferred from the gyroscope data ormotion as inferred from accelerometer data. The room where the activityoccurs provides the context to interpret what the activity was. Forexample, sitting in the dining room after activities in the kitchenindicates eating whereas sitting at the table without surroundingactivities in the kitchen indicates work. Such common sense logic ispart of the semantic model.

FIG. 26 depicts one concept for wearing the pager 12050. The circuit isenclosed in a casing that can work as the ornament in a bolo neckwear.The about 6 inches long antenna can be woven into the bolo lace. Analternate concept is to place the pager on a fabric wristband made ofelastic material. The long antenna can be woven into the wristband. FIG.26 also depicts the battery for the wearable pager. It provides at leasta day's worth of power to the pager. The pager can be charged through aUSB connector, regular or mini. The communication hub 12100 hosts a dock12140, as shown in FIG. 29 for charging the pager. The dock includes aguide for the USB connector that slides the connector into contact withthe charging circuit inside the communication hub.

FIG. 27 illustrates the two components of the transceivers 12000: acircuit 12010 including a single chip that is both an RF receiver forreceiving the signals from the wearable pager and a transmitter forrebroadcasting the signal to the communication hub 12100. The circuit12010 docks onto a wall charger 12011 that provides power to thetransceiver.

FIG. 28 depicts the design of the communication hub 12100. The hubincludes the same RF receiver-transmitter chip 12130 as in the pager andthe transceivers. The hub also includes a CPU, an Ethernet port 12110and a USB port 12120 for charging the hub. FIG. 29 depicts thecommunication hub in an enclosure, showing the charging dock 12150 andthe Ethernet and charging ports 12140. The Ethernet port transmitspartially processed data to a remote server for further processing. Theserver hosts the semantic model, the inference engine and the semanticknowledge base of the present invention.

The pager 12050, the transceivers 12000 and the communication hub 12100are designed to produce, collect, process and relay movement data forinterpretation. The interpretation begins with learning patterns of datathat are repeated every day and multiple times within a day. Thesepatterns correspond to common activities. FIG. 30 depicts the signalsthat are received by the transceivers in FIG. 24. Each transceiverreceives a signal from the wearable device. The signal strength isinversely proportional to the square of the line-of-sight distancebetween the wearable device and the transceiver. At any given time, thecollection of signals received by all the transceivers within the homeform a signal-vector with as many components as there are transceivers.Within the error bounds in the signal strengths, a signal-vector isassociated with the location of the wearable device. Regularlyfrequented locations within the home are represented by a close clusterof signal-vectors, as depicted in FIG. 31. By correlating thesignal-vector clusters with self-reported data, such as a meal beingtaken, as well as movement data recorded by the wearable device, such asno movement, the inference engine is able to associate the clusters ofsignal vectors with key activities of daily living.

Partially processed movement data, i.e. clustered signal vectors aretransferred to a server for further processing. FIG. 32 depicts aportion of the semantic model that processes the sensor data into deepinsights. In FIG. 32, 12300 depicts the clustered signal vectorstransmitted by the communication hub. These data are combined with otherdata, such as self-reported data about activities of daily living, suchas waking up, eating, going to bed, among others. The data are enteredas an input to an “Activity/Anomaly Identifier” semantic concept 12320that identifies and associates repeated patterns with common activitiesof daily living. A-priori, common sense patterns about common activitiesare also input to the Activity/Anomaly Identifier concept 12320.Patterns of relaxing, meal preparation, dining, bathroom use, sleepingand balancing 12310 are examples of a-priori knowledge data that areused by the Activity/Anomaly Identifier. Examples of a-priori knowledgedata about resting and relaxing include no translational motion, lowerthan usual center of gravity, and activities occurring for shortduration during the daytime following periods of activity. Knowledgeabout balance specifies patterns such as the presence of a stabilizingperiod between rising up from a sitting position and starting to walk.Every time data are available from the movement sensors 12300, theinference engine applies all a-priori knowledge that is input to concept12320 to the movement data to learn the users individual patterns ofbalance 12330, relaxing, dining, meal preparation and sleeping. Examplesof learned pattern includes normal sleep times, normal wake-up times,and normal variations in sleeping routines.

In addition to learning normal patterns of activity, the operatorfunctions for the semantic concept 12320 also identify deviations fromnormal pattern. For example, the user lying down in an unusual placeimmediately after walking is identified as a fall 12340. Taking longerto stabilize after sitting triggers a balance analysis 12350, whichcould result in a high risk of fall alert 12360. Repeated detection ofbalance issues can trigger the recommendations to reduce risk of fall12380 such as to rise slowly or to use a cane when rising. All suchinferences are automatically generated by the inference engine of thepresent teaching through the process described earlier in FIG. 15-FIG.17.

FIG. 33 illustrates a particular sequence in the inference process. Whenmovement data become available, the Activity/Anomaly Identifier conceptis triggered. In this example, the data are about movement in thekitchen. Through the Context-gate and Qualifier functions associatedwith the Activity/Anomaly Identifier concept, the inference enginedetermines that it needs to fetch a-priori and learned patterns aboutmeal preparations. Once those patterns are fetched, an Operator functionassociated with the Activity/Anomaly Identifier concept continues toprocess movement data until it fits the a-priori and learned patterns.At that point, the movement data are classified to represent mealpreparation and are added to the learned patterns of meal preparation.The Operator function then triggers the Learned Patterns of Diningconcept to prepare for the processing of an instance of dining.

The processing of movement data as described above converts largevolumes of data from multiple sensors (transmitter, accelerometer,gyroscope and magnetometer) assertions about normal and abnormalactivities of daily living. The assertions are automatically derivedthrough a process of inference that is explicitly specified through thesemantic and hence is explicable. The situational understanding gainedthrough the inferencing process illustrates a key area of applicationfor the present teachings.

Semantic Reasoning for Behavioral Activation: Personal Chronic IllnessManagement System (PCIMS)

As an example of semantic reasoning for behavioral activation, wedescribe a personal chronic illness management system (PCIMS). The PCIMSis designed to activate a patient and their caregivers to better managethe patient's chronic illnesses. PCIMS schedules care activities,monitors the scheduled activities, accesses the quality of health andthe quality of the adherence to the prescribed care plan, identifiesissues and prompts for corrective actions.

FIG. 34 depicts the overarching process of behavioral activation. Itincludes three phases: 1) activities dictated by the situations arestructured and scheduled; 2) activities are monitored and data from theactivities are analyzed; 3) issues are identified and remedial actionsare activated. The three phases repeat continuously. Examples of stepswithin the three phases of behavioral activation for chronic illnessmanagement are shown in FIG. 34. The three phases include many stepsthan can be consistently performed by people and automation throughinferencing is necessary.

In the PCIMS application, behavioral activation is automated through thesemantic reasoning approach of the present teachings. Behavioralactivation begins with structuring and scheduling activities. PCIMSstructures the following types of activities: medication taking, mealtaking, exercising, vitals monitoring, following up with physicians andinteracting with family. PCIMS processes data such as the patient'sphysiology, medication adherence, diet, exercise and clinical follow-upto monitor the response to the structured activities. Included in themonitoring is making inferences about the quality of adherence to theprescribed care-plan, physiologic response, recognition of where helpwith care is needed and seeking of help from those that can provide it.Through inferencing, issues with self-care are identified andintervention strategies are devised. The intervention strategies arescheduled as structured activities and the process of behavioralactivation continues in a loop.

In one embodiment of the PCIMS, the system includes the componentsdepicted in FIG. 35. The Care-Station, the Pager and the Care-Portal areall interactive devices through which a patient and caregivers sendsdata to the inference engine and receives query results from thesemantic knowledge base. The Care-Station interface takes inputs fromand provides decision support to the patient. The Pager is a wearabledevice that transmits movement data to the inference engine and pagesthe patient when she needs to be reminded or alerted. The Care-Portaltakes inputs from and provides decision support to the patient'scaregivers. All three system components send data to the same inferenceengine and interfaces with the semantic knowledge base, but withdifferent purpose.

In the PCIMS application, the semantic reasoning framework described inthe present invention converts low level data, such as blood pressuremeasurement and medication adherence data to recommend follow-up actionsto better manage chronic illnesses. FIG. 36 depicts that the PCIMSsystem has a semantic model which defines concepts related to chronicillness, the domain independent inference engine of the presentinvention, and a personal chronic illness management knowledge base thatis created through the application of inference.

The PCIMS application employs cascading inferencing, where one inferenceleads to another until a resolution is reached or the process halts asit awaits additional data. As with all applications of the presentteaching, the process of inference is described in the semantic modelthrough the definition of insight concepts, relationships among conceptsand associated operators. FIG. 37-FIG. 37C depict fragments of the PCIMSsemantic model. Items including a clinical appointment 11054, familymember 11052, patient 11051, physician 11061, hospital discharge 11053,care guide 11056, medication guide 11057, medicine supply 11062,medicine bottle 11063, drug use data 11060 depict fact concepts. Itemsincluding master adherence 11059 and its components, daily care plan11055 and its components, depict different kinds of insights,representing knowledge about various patterns of patient behavior:medication adherence, meal taking, exercise, vitals signs and more. Fromthe patterns, other insights are derived such as how regular is thepatient with taking medication and finally recommendation on what to dowhen adherence and health are poor.

The PCIMS semantic model in FIG. 37-FIG. 37C include concepts such as“Patient” 11051 and “Family Member” 11052, connected by a relationshipthat describes which family member is a caregiver for the patient. Eachconcept is defined with notes such as name, age, and gender for“Patient” and “Family Member” concepts. Beyond the concepts for peopleinvolved in chronic care, the semantic model defines a range of conceptssuch as “Clinical Appointment” 11054 and “Hospital Discharge” 11055which result in the specification of a “Care Guide” 11056 which, inturn, identifies the associated medications (“Medication Guide”) 11057.

As the knowledge base gets seeded with knowledge about events such asclinical appointments and hospital discharges, the inference enginestarts to implement the process of creating a “Daily Care Plan” 11055which, in turn, prompts reminders for daily care tasks such as to takemedications (“Medication Reminder”). When the care tasks are done, thepatient reports the action through the Care-Station interface. Responsesto reminders are tracked when the corresponding adherence nodes e.g.(“Medication Adherence” 11059) are periodically processed and adherencepatterns are learned. Adherence alerts are issued if the operatorfunction for the adherence node determines so.

Facts, such as a “Care Guide” 11056 created at a “Hospital Discharge”11053, trigger downstream insight concepts, such as a “Daily Care Plan”11055. Insight concepts identify functions that are used to process thenotes within the fact nodes to generate insight nodes and its notes. Forexample, “Process Care Plan Data” 11101, shown in FIG. 38, depicts aspecific function “Generate Daily care Plan” 11105 that is part of the“Daily Care Plan” concept 11055, shown in FIG. 37C. The trigger for thefunction represented by 11105 is a certain clock time, which is alsospecified in the semantic model as an argument to the function. Theinference engine runs the trigger function at the specified clock timeto create instances of 11055, which in turn triggers its downstreamnodes. The same process applies to the functions 11102-11108, all ofwhich are associated with insights concepts in the PCIMS semantic modelin FIG. 37-FIG. 37C.

FIG. 38 depicts four types of data in PCIMS that are presented as factsto the inference engine. The four types of data are: data that describethe patient's care plan; physiologic data about the patient's vitalsigns; self-reported data capturing the patient's care plan adherencebehaviors; and movement data captured by the wearable pager. These dataresult from the client acting on the reminders that are automaticallygenerated. The data are processed by the inference engine toautomatically create insights. Example of insights include generating adaily care plan for the patient, creating timely reminders for tasksthat need to be done, such as taking medications and measuring vitalsigns, tracking performance of care tasks, and generating furtherreminders, alerts and recommendation when inferencing determines thatthere are issues with health or adherence. What needs to be inferred andthe repertoire functions that are systematically invoked during theinference process are specified as insight concepts in the semanticmodel (shown in FIG. 37-FIG. 37C) and implemented by the inferenceengine of the present invention.

The four types of data in PCIMS that are presented as facts to theinference engine come from two types of sources: sensors and userinputs. FIG. 39-42 describe the inference flow for processing the fourstypes of data in PCIMS.

FIG. 39 describes the logic for function 11101 in FIG. 38. The logic isembodied in one or more repertoire functions that process multipleinputs to a patient's care plan into a single daily care plan. Thesingle daily plan includes a schedule of all the tasks that the patientneeds to do on any given day. Multiple, intermediate semantic conceptsmay be instanced during the process of creating the daily care plan. Theintermediate concepts may represent intermediate knowledge such aboutinconsistencies in the care plans, and requests to patients, caregiversand physicians to resolve inconsistencies. Whether intermediate conceptsare defined in the semantic model or not depends on what knowledge needsto be tracked, in order to provide the desired decision support to theapplication's users.

FIG. 40 describes the logic for function 11102 in FIG. 38. The logic maybe embodied in one or more repertoire functions, associated with one ormore concepts, and are dynamically invoked by the inference engine inthe course of creating new insight nodes and links as they are triggeredby the creation and updates of fact nodes. Typically, each data type inFIG. 40 is represented as a unique concept, with its own notes andrepertoire functions customized to process the notes in the concept.Notifications to caregivers and recommendations, such as to callphysicians, are also distinct decision support concepts in the semanticmodel. Instances of the decision support concepts are created in thesemantic knowledge base when the logic depicted in FIG. 40 is satisfied.

FIG. 41 describes the logic for function 11103 in FIG. 38. The logic maybe embodied in one or more repertoire functions, associated with one ormore concepts, and are dynamically invoked by the inference engine inthe course of creating new insight nodes and links as they are triggeredby the creation and updates of fact nodes.

FIG. 42 describes the logic for functions 11104, shown in FIG. 38. Thelogic describes the processing of the movement data to infer activitiesof daily living and learn daily habits. The logic may further processthe movement data to learn patterns of walking from which the inferencesabout falls can be made. The logic for movement analysis may be embodiedin one or more repertoire functions, associated with one or moreconcepts, and are dynamically invoked by the inference engine in thecourse of creating new insight nodes and links as they are triggered bythe creation and updates of fact nodes.

The logic described in FIG. 39-FIG. 42 is implemented by functionsassociated with multiple concepts in the semantic model. For example,the logic “Clinical Action Needed” is implemented by multiple conceptsin the PCIMS semantic model: Fluid Retention Analysis, HypoglycemiaAnalysis. Hyperglycemia Analysis, and Episodic Hypertension Analysis. Asingle instance for these concepts is created by the inference enginewhen a patient is diagnosed with a corresponding disease. Each of thesenodes is triggered when its input link, connecting it to itscorresponding data, is fired upon the arrival of new data. Specificrepertoire functions carry on the analysis of the situation representedby the concept: fluid retention, hypoglycemia, hyperglycemia andhypertension. The result of the analysis can be alerts about needingclinical action.

FIG. 43 depicts the logic of the analysis that is associated withHypoglycemia Analysis. FIG. 44 depicts its implementation through theinference mechanism of the present teachings. New Blood Glucose Dataactivates the Hypoglycemia Analysis node. An operator functionassociated with the node tests whether glucose level is below 75. If so,a Hypoglycemia Protocol node is instanced. This node implements theclinical protocol in FIG. 43 involving multiple, sequenced measurementsof glucose level, recommendation to take glucose tablet, and checkingwhether the patient feels sweaty or dizzy. Each of these actions isrepresented by its own concept in the semantic model. An operator withinthe protocol node keeps track of how much of the protocol has beenfollowed. If a “Call Physician” or “Call for Help” state is reached, aHypoglycemia Alert node is created to indicate whether a physician or afriend should be called for help.

The nodes and links created by the inference engine are stored in thesemantic knowledge base and are available for query by the threeinterfaces for the PCIMS: the Care-Station, the Pager and theCare-Portal, shown in FIG. 35. Each of the three interfaces queries thePCIMS semantic knowledge base using the query meta-language illustratedin FIG. 19. The replies to the queries are displayed to the user usingvarious forms of user interface objects, illustrated in FIG. 45-FIG. 63.

FIG. 45 depicts the main interface for the Care-Station. The entireinterface is controlled by touch. At the center is a window thatdisplays photos selected by the user. The left panel provides a clockand the current date. The rest of the interface includes buttons thatactivate the user to take specific actions. The left panel provides abutton to access various options for communicating with family andcaregivers. It also provides a button that communicates rewards earnedby the user for successfully completing tasks.

The bottom panel in FIG. 45 sequentially displays a series of buttonscorresponding to the tasks for the day. Icons are used to represent thetasks: medicine bottle for taking medications, plates of food for takingmeals, and devices for monitoring vital signs. The time to do the taskis indicated below the task icon in an oval whose colors can be greenfor done, red when overdue and black when upcoming. The daily tasks aredynamically computed by the inference engine and stored in the semanticknowledge base as reminder concepts. The care-station interfaceperiodically queries the semantic knowledge base for the status ofupcoming tasks and updates the care-station interface accordingly. Tasksthat are completed are indicated as “Done”. The right panel illustratesunscheduled tasks that need attention. Each scheduled or unscheduledtask depicted in the interface is an instance of a reminder in the PCIMSsemantic model shown in FIG. 37-FIG. 37C.

FIG. 46 illustrates what happens when a medication icon is touched: apanel depicting all the medications to be taken as part of that task isshown. Touching the image of a medication brings up a panel that informsthe user of the quantity of medication to be taken and allows the userto specify whether the medication was taken or skipped. Every user inputis sent to the inference engine and processed by the inference enginefollowing the logic specified in the semantic model.

FIG. 47 illustrates the panel that appears when the user touches a bloodpressure device icon. The panel allows the user to enter blood pressurereadings. If a device is directly connected to the PCIMS application,the blood pressure reading may be automatically captured. Blood pressurereadings are sent to the inference engine where they are analyzed. Iffurther actions are needed, the actions appear as new tasks on the rightpanel of the main interface, shown in FIG. 45.

FIG. 48 shows the panel that appears when a blood glucose device icon istouched. The manually or automatically entered data are sent to theinference engine, where they trigger a hypoglycemia and hyperglycemiaanalysis and ensuing protocol as described in FIG. 43 and FIG. 44.

FIG. 49 shows the panel that appears when a meal icon is touched. Thepanel allows the user to indicate whether the meal was taken skipped oryet to be done. The user input becomes a fact that the inference engineprocesses to learn eating habits. Extensions to the semantic model trackwhat was eaten and correlate food intake with drug metabolism, weightgain, or sleep patterns. As the semantic model is extended, the panelshown in FIG. 40 is extended to accept user input of the contents of themeal.

FIG. 50 depicts the panel that appears when an exercise icon is touched.It captures user input on the nature and extent of the exercise. Theinput is sent to the inference engine in real time where it triggers thelearning of exercise habits and its immediate and longitudinal effect onvital signs such as pulse, blood pressure, and weight, among others. Theinstantaneous and asynchronous analysis of the many dimensions of auser's input is one of the many benefits of the semantic reasoningapproach of the present invention.

FIG. 51 accepts user input on self-checks that the user is tasked to do.The self-check inputs are instantaneously correlated with vital signs todetect the onset of health issues such as fluid retention.

FIG. 52 depicts the prompt to the user when multiple, related tasks areto be done at the same time. Until each task is complete, the main taskicon will continue to indicate that the task needs to be done. When alltasks in a group are done, the task icon in the main task panel at thebottom of FIG. 45 will indicate that the task is done.

FIG. 53 is an example of behavioral activation due to conclusions drawnby the inference engine in real time from processing various userinputs. In this example, the inference engine concludes that there is alikely situation of fluid retention. This conclusion is drawn frompatterns of weight gain, swelling of the feet and breathingdifficulties. Once the conclusion is drawn, an icon on the right panelon the main interface indicated a fluid retention alert. The panel inFIG. 53 is shown when the alert icon is touched. The panel in

FIG. 53 explicitly instructs what the user should do; call physician inthis instance. The panel also accepts user's input from the activity; inthis example it accepts input on the physician's instructions. Theinference engine processes the user input and continues to activate theuser for the next necessary action. For example, if the instruction wasto take extra diuretics, the right hand panel will post a new iconindicating that medication needs to be taken. The activation willcontinue until the protocol is complete. As explained in FIG. 44, asemantic concept for implementing fluid retention protocol continuouslydraws the inferences necessary to fully implement the protocol until adone state is reached.

The inference engine operates asynchronously and is able to conductmultiple threads of reasoning in parallel. Multiple alert protocols canbe implemented at the same time. FIG. 53 shows one step in implementinga hypoglycemia protocol (shown in FIG. 43) requiring additional,periodic measurements of blood glucose. The data for the glucose level,when entered manually or automatically, are instantaneously processed bythe inference to arrive at the next action in the hypoglycemia protocol.

FIG. 55-63 show various user interfaces in the care-portal of the PCIMSapplication. FIG. 55 depicts the main interface that provides anoverview on whether tasks have been completed or not. It also summarizeshealth alerts and alerts concerning adherence to the care plan. FIG. 56depicts the details of a health alert. FIG. 62 depicts the details ofoverall adherence to the care-plan.

The care-portal is the interface to the semantic knowledge base that acaregiver uses to assist the client whose behavior is activated throughcare-station interface. FIG. 57 depicts an interface for managingclinical appointments.

FIG. 58 and FIG. 59 depict a couple of different forms that the useruses to create the care plan. These inputs dictate what tasks arescheduled everyday and when. As shown in FIG. 58, the care planspecifies an exercise plan to include what exercises are to be done andhow often. The frequency specification can be in terms of specific daysof the week or a high level constraint such as two times a week. Theinference processes the care plan input to schedule daily activities,which are depicted as tasks in the care-station.

FIG. 59 depicts the specification of a medication to be taken. Dosage,frequency and constraints on when to take the medication, such as beforebreakfast are part of the specification. the inference engine processesthe specification daily and activates the user to take the medicationaccordingly. FIG. 60 summarizes all the medications that are part of theuser's care plan.

FIG. 61 and FIG. 62 depict interfaces to look at the history of healthand adherence data. The history is analyzed by the inference engine tocharacterize trends in health and behavior. Health trends are based onvital signs. Behavioral trends are based on whether tasks are completedin a timely fashion or not. The inference engine uses the trends totailor the manner is which the user is activated. As in the exampledepicted in FIG. 23, if the trend shows gradual decline in medicationadherence until user is reminded of its importance, PCIMS will providetimely education to prevent the anticipated decline in adherence.

The PCIMS application illustrates the vast and diverse range of datathat can be processed by the semantic reasoning framework of the presentinvention. All data and the associated processing are defined in thesemantic model in terms of concepts, notes, relationships and repertoirefunctions. The semantic model can be extended as needed when more dataneeds to be factored into the inferencing process or when other types ofdecision support are needed. An extensible inference process throughwhich data is automatically processed into insights is essence of thepresent invention.

The PCIMS application is extended simply by adding to the semanticmodel. New fact concepts can be added when new sources of data becomeavailable. New insight concepts can be added to extend the process ofinferences. FIG. 64 provides one example of extending an application byadding to the semantic model. In this example, two differentapplications, PCIMS and MADL, are joined through one or more sharedconcept. One shared concept is movement data. Through inferences aboutmovement data, the MADL application creates knowledge activities ofdaily living: how much time is spent doing key daily activities. TheMADL application also continuously assesses balance to detect highlikelihood of falls. When the semantic model of MADL is integrated withthe semantic model of PCIMS, new opportunities of inferences arecreated. FIG. 65 presents an example where patterns of movement, learnedin the MADL application, are correlated with use of medications, whichis discerned in the PCIMS application. The additional concept,correlating movement to drug use, detects if an individual's balance ifaffected by her medications. The examples of FIG. 64 and FIG. 65illustrates one of the principle strengths of the present teachings thatinferences are incrementally added, building upon previous inferences,simply by extending the semantic model. In many instances, no additionalcoding is required when the semantic model is extended. The inferenceengine simply applies the extended semantic to data to create theadditional knowledge that is represented by the added concepts andrelationships. In some instance, extending the semantic model mayrequire definition of some repertoire functions through themeta-language described in the present teaching. New repertoirefunctions themselves may extend existing repertoire functions, adding tothe extensibility of the inference process of the present teachings.

The PCIMS application reasons over many different data sources and drawscomplex conclusions that are built upon other conclusions. Suchapplications require an extensible inference process. The method andsystem described in the present teaching, presents an applicable,extensible inference process. Through its extensible semantic model, itsapplication independent inference engine, and the extensiblemeta-language to extract knowledge from the knowledge base populated bythe inference engine, the present teachings extend the prior art ofsemantic representation of knowledge to include systematic reasoning forcreating new knowledge.

Several embodiments of the present invention have been described.Nevertheless, it will be understood that various modifications may bemade without departing from the spirit and scope of the invention.Accordingly, other embodiments are within the scope of the followingclaims.

What is claimed is:
 1. A personal illness management system comprising:an extended semantic model of a health care knowledge domain comprisingexisting concepts related to personal illness management, existingrelationships among the existing concepts, and inference logic embeddedwithin each existing concept, wherein each existing concept comprisesassociated properties and wherein the embedded inference logic is usedfor inferring values of said associated properties and comprisesconditions and processes for drawings inferences about an existingdownstream concept that is connected to an existing concept via anexisting relationship; a semantic knowledge database for personalillness management being distinct from the extended semantic model andcomprising existing nodes and existing links and wherein the existingnodes represent instances of the existing concepts, and the existinglinks represent instances of the existing relationships among theexisting concepts; an inference engine that is knowledge domainindependent and populates the semantic knowledge database with saidinstances of the existing concepts and said instances of the existingrelationships by following the inference logic embedded within eachexisting concept, and wherein the inference engine adds new nodes andnew links to the semantic knowledge database by first receiving externaldata, next generating instances of fact nodes and associated linksrepresenting said external data, and then recursively adding andupdating downstream insight nodes and associated links; a computingsystem comprising at least a processor configured to execute theinference engine operating on the inference logic of the extendedsemantic model and to host the semantic knowledge database; a userinterface that sends queries from a patient and/or a caregiver to thesemantic knowledge database and receives query results and providesdecision support to the patient and/or the caregiver; and wherein thesystem provides computer implemented instructions for semantic reasoningfor behavioral activation of the patient to manage the patient'sillness.
 2. The system of claim 1, further comprising interactivedevices comprising at least one of a care station, a wearable sensor, anexternal sensor, a personal communication device, a care portal, andwherein the patient and/or the caregiver send data to the inferenceengine through at least one of the interactive devices and receive queryresults from the semantic knowledge base.
 3. The system of claim 2,wherein the care station and/or the care portal comprise the userinterface that sends queries from the patient and/or the caregiver tothe semantic knowledge database and provides decision support to thepatient and/or the caregiver.
 4. The system of claim 2, wherein thepersonal communication device is a wearable device that transmitsmovement data to the inference engine and notifies the patient when thepatient needs to be alerted or reminded of a certain action.
 5. Thesystem of claim 1, wherein the computer implemented instructions forsemantic reasoning for behavioral activation of the patient comprisestructuring and scheduling activities for the patient, monitoring thepatient's scheduled activities, analyzing data from the patient'sscheduled activities, identifying problems with the patient's scheduledactivities, and activating follow-up activities.
 6. The system of claim5, wherein structuring and scheduling activities for the patientcomprise providing instructions for taking medication, meals,exercising, monitoring vital signals, checking for symptoms, clinicalappointments and social events.
 7. The system of claim 5, whereinmonitoring the patient's scheduled activities and analyzing data fromthe patient's scheduled activities comprise monitoring the patient'svital signals, symptoms, medication adherence, meal taking, exercising,clinical appointment attendance, and response to social interactions. 8.The system of claim 5, wherein identifying problems with the patient'sscheduled activities comprise making inferences about quality ofadherence to taking medications, meals, exercising, attendance ofclinical appointments, vital signal response, symptom checking, andresponse to social interactions.
 9. The system of claim 1, wherein theexisting concepts of the extended semantic model comprise concepts forpeople involved in illness management and wherein the concepts forpeople comprise patients, caregivers, and physicians, and wherein theexisting relationships among the existing concepts describe whichcaregiver is assigned to which patient, and which physician is assignedto which patient, and wherein each concept comprises notes includingname, age and gender.
 10. The system of claim 1, wherein the existingconcepts of the extended semantic model further comprise concepts forproviding illness management and wherein the concepts for providingillness management comprise clinical appointment, hospital discharge,care guide, medication guide, medicine supply, medicine bottle, exerciseguide and master adherence.
 11. The system of claim 1, wherein theexternal data that the inference engine receives comprise patient careplan data, patient vital signal data, patient symptom data, patientself-reported care plan adherence data, and patient movement data. 12.The system of claim 11, wherein the inference engine processes theexternal data and adds insight nodes that comprise patient daily careplan, timely reminders for care tasks, monitor task performance, monitorhealth, and further reminders when there is an issue with health oradherence.
 13. The system of claim 1, wherein each existing nodecomprises existing notes representing instances of the associatedproperties of each existing concept.
 14. The system of claim 1, whereinthe existing links that connect the existing nodes comprisedirectionality originating from an upstream node and terminating at adownstream node.
 15. The system of claim 1, further comprising a datanormalizer configured to receive data and normalize them to the existingconcepts and existing relationships of the extended semantic model. 16.The system of claim 1, further comprising a repertoire library andwherein the repertoire library comprises a set of repertoire functions,wherein each repertoire function is assigned an unique identifier numberthat associates the repertoire function with the inference logicembedded in each concept in the extended semantic model and wherein therepertoire functions are automatically invoked by the inference enginein the process of adding and updating insight nodes.
 17. The system ofclaim 16, wherein the set of repertoire functions comprise one ofresolver, context-gate, collector, qualifier or operators, and whereineach type of repertoire function fulfills a specific role in theinference process.
 18. The system of claim 1, wherein the extendedsemantic model further comprises upstream concepts and downstreamconcepts and wherein the upstream concepts are connected to thedownstream concepts via relationships, and wherein the inference logicof each upstream concept further comprises conditions and processes forcreating and updating instances of corresponding downstream concepts andwherein each of the downstream concepts is automatically inferred by theinference engine using the inference logic embedded in a correspondingupstream concept whenever the corresponding upstream concept isinstanced as a node or when the node is modified and the conditions forcreating or updating the downstream concept are met.
 19. The system ofclaim 1, wherein each of said properties comprises values associatedwith an existing concept or a chain of links connecting data within anupstream concept with a downstream concept and wherein said propertiesare used by the inference engine for implementing the logic forinstancing an associated link to a downstream concept or for instancingproperties of said downstream concept.
 20. The system of claim 1,further comprising an extensible meta-language for querying the semanticknowledge base and wherein the extensible meta-language comprises avocabulary of fundamental words that are common to all extended semanticmodels and independent of any specific domain knowledge contained in anyspecific semantic model and wherein the inference engine has a built-ininterpreter that can perform the actions specified in the fundamentalwords, and wherein the inference engine can interpret a collection ofwords built from fundamental words and wherein new domain specific querywords are built upon the fundamental words such that they can beinterpreted and implemented by the inference engine without theinference engine being coded with domain specific query logic.
 21. Thesystem of claim 1, wherein the computing system comprises a mechanismfor storing and retrieving knowledge to and from the semantic knowledgebase that is distributed over multiple computing systems.
 22. The systemof claim 1, wherein the extended semantic model is extended by addingnew fact concepts, new insight concepts, or another extended semanticmodel and wherein the addition of each new insight concept includesspecifying within its upstream concepts the logic to adding or updatingthe new insight concept.
 23. A method for providing personal illnessmanagement comprising: providing an extended semantic model of a healthcare knowledge domain comprising existing concepts related to personalillness management, existing relationships among the existing concepts,and inference logic embedded within each existing concept, wherein eachexisting concept comprises associated properties and wherein theembedded inference logic is used for inferring values of said associatedproperties and comprises conditions and processes for drawingsinferences about an existing downstream concept that is connected to anexisting concept via an existing relationship; providing a semanticknowledge database for personal illness management being distinct fromthe extended semantic model and comprising existing nodes and existinglinks and wherein the existing nodes represent instances of the existingconcepts, and the existing links represent instances of the existingrelationships among the existing concepts; providing an inference enginethat is knowledge domain independent and populates the semanticknowledge database with said instances of the existing concepts and saidinstances of the existing relationships by following the inference logicembedded within each existing concept, and wherein the inference engineadds new nodes and new links to the semantic knowledge database by firstreceiving external data, next generating instances of fact nodes andassociated links representing said external data, and then recursivelyadding and updating downstream insight nodes and associated links;providing a computing system comprising at least a processor configuredto execute the inference engine operating on the inference logic of theextended semantic model and to host the semantic knowledge database;providing a user interface that sends queries from a patient and/or acaregiver to the semantic knowledge database, receives query results andprovides decision support to the patient and/or the caregiver; andproviding computer implemented instructions for semantic reasoning forbehavioral activation of the patient to manage the patient's illness.